<template>
  <div class="goods">
    <goodsItem v-for="(item,index) in goods" :key="index" :goodsitem="item"></goodsItem>
  </div>
</template>
<script>
  import goodsItem from './goodsitem.vue';
  export default{
    name:"goodsList",
    components:{
      goodsItem
    },
    props:{
      goods:{
        type:Array,
        default(){
          return []
        }
      }
    }
  }
</script>